package cn.achao.csr.api.model.enums;

/**
 * body类型枚举 为了适配特殊类型请求参数
 * @Author: achao
 **/
public enum BodyTypeEnums {

    Normal("normal","正常的请求参数"),

    /**
     * 如：
     * [{
     *  "userName":"IVR用户"
     * }]
     */
    NoNameList("noNameList","异常的请求参数,没有名字的集合JSON");


    private String code;
    private String msg;

    private BodyTypeEnums(String code, String msg) {

        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
